<script setup lang="ts">
import { RouterView } from 'vue-router'
import { zhCN, dateZhCN } from 'naive-ui'
</script>

<template>
  <n-config-provider abstract inline-theme-disabled :locale="zhCN" :date-locale="dateZhCN">
    <n-global-style />
    <n-dialog-provider>
      <n-message-provider>
        <RouterView />
      </n-message-provider>
    </n-dialog-provider>
  </n-config-provider>
</template>
<style>
body,
html {
  margin: 0;
  padding: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  box-sizing: border-box;
}
#app {
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}
</style>
